package com.xqboss.apps.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.market.UserBoxNftStatusEnum;
import com.xqboss.apps.enums.nft.NftTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserBoxNft extends BaseTable {
    @TableId(type = IdType.AUTO)
    private Long id;
    // 用户箱子ID
    private Long userBoxId;
    // 箱子ID
    private Long boxId;
    // 箱子藏品ID
    private Long boxNftId;
    // 主订单号ID
    private Long orderMainId;
    // 子订单号ID
    private Long orderItemId;
    // 藏品ID
    private Long nftId;
    // 藏品编号ID
    private Long nftNumberId;
    // 藏品类型
    private NftTypeEnum nftType;
    // 可售时间
    private LocalDateTime saleableTime;
    // 是否已开启
//    private Boolean dispatch;
    // 箱子典藏状态
    private UserBoxNftStatusEnum status;
}
